gtk_init_with_args() arguments should be const gchar*
authorNick Schermer <nick@xfce.org>
Mon, 26 Oct 2009 21:27:03 +0000 (22:27 +0100)
committerJavier Jardón <jjardon@gnome.org>
Mon, 26 Oct 2009 21:29:33 +0000 (22:29 +0100)
commit92a68f4cf94f7615b5f0b2d16ec3c20b3775202b
tree9d62b348a58dccbb0f6d7224b493ba427e242c36
parentaaa45996d94c36008c2855112fab07ad45085994
gtk_init_with_args() arguments should be const gchar*

The translation_domain argument should be const gchar * to allow compilation
with -Wwrite-strings. It only passes the argument to
g_option_context_add_main_entries() which is already const gchar*.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=583305
gtk/gtkmain.c
gtk/gtkmain.h